package com.ruoyi.qianhuankuan.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 欠还款对象 qianhuankuan
 *
 * @author ruoyi
 * @date 2023-05-25
 */
@ApiModel(value="Qianhuankuan对象", description="欠还款表")
public class Qianhuankuan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 仓库 */
    @ApiModelProperty(value = "仓库")
    @Excel(name = "仓库")
    private String cangku;

    /** 客户名称 */
    @ApiModelProperty(value = "客户名称")
    @Excel(name = "客户名称")
    private String kehuName;

    /** 时间 */
    @ApiModelProperty(value = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 天数 */
    @ApiModelProperty(value = "天数")
    @Excel(name = "天数")
    private Long tianshu;

    /** 数量 */
    @ApiModelProperty(value = "数量")
    @Excel(name = "数量")
    private Long shuliang;

    /** 欠还款 */
    @ApiModelProperty(value = "欠还款")
    @Excel(name = "欠还款")
    private String qianhuan;

    /** 金额 */
    @ApiModelProperty(value = "金额")
    @Excel(name = "金额")
    private BigDecimal zongqiankuanjine;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注")
    private String beizhu;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCangku(String cangku)
    {
        this.cangku = cangku;
    }

    public String getCangku()
    {
        return cangku;
    }
    public void setKehuName(String kehuName)
    {
        this.kehuName = kehuName;
    }

    public String getKehuName()
    {
        return kehuName;
    }
    public void setDate(Date date)
    {
        this.date = date;
    }

    public Date getDate()
    {
        return date;
    }
    public void setTianshu(Long tianshu)
    {
        this.tianshu = tianshu;
    }

    public Long getTianshu()
    {
        return tianshu;
    }
    public void setShuliang(Long shuliang)
    {
        this.shuliang = shuliang;
    }

    public Long getShuliang()
    {
        return shuliang;
    }
    public void setQianhuan(String qianhuan)
    {
        this.qianhuan = qianhuan;
    }

    public String getQianhuan()
    {
        return qianhuan;
    }
    public void setZongqiankuanjine(BigDecimal zongqiankuanjine)
    {
        this.zongqiankuanjine = zongqiankuanjine;
    }

    public BigDecimal getZongqiankuanjine()
    {
        return zongqiankuanjine;
    }
    public void setBeizhu(String beizhu)
    {
        this.beizhu = beizhu;
    }

    public String getBeizhu()
    {
        return beizhu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("cangku", getCangku())
                .append("kehuName", getKehuName())
                .append("date", getDate())
                .append("tianshu", getTianshu())
                .append("shuliang", getShuliang())
                .append("qianhuan", getQianhuan())
                .append("zongqiankuanjine", getZongqiankuanjine())
                .append("beizhu", getBeizhu())
                .toString();
    }
}
